package cn.wolfcode.mapper;

import cn.wolfcode.domain.Employee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/*
* myBatis-plus
* 1.继承BaseMapper
* 2.泛型是domain的实体类
*
* */
public interface EmployeeMapper extends BaseMapper<Employee> {
    Employee selectByPrimaryKey(Long id);
    List<String> selectByPermission(Long id);
}
